/**
 * 
 */
package org.insia.smartposse.metier;

import java.io.Serializable;
import java.util.Date;

import org.insia.smartposse.metier.webservice.LightProjectSkillAffectation;

/**
 * @author raguerri
 * @since  
 * @version 0.0.1
 */
public class ProjectSkillAffectation 
implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3920395346810380872L;
	private long _id = -1L;
	private ProjectSkill _projectSkill;
	private Freelance _freelance;
	private Date _start_date;
	private Date _end_date;
	
	/**
	 * Empty constructor.
	 *
	 */
	public ProjectSkillAffectation() {
	}
	
	/**
	 * @return the _end_date
	 */
	public Date getEnd_date() {
		return _end_date;
	}
	/**
	 * @param _end_date the _end_date to set
	 */
	public void setEnd_date(Date end_date) {
		this._end_date = end_date;
	}
	/**
	 * @return the _id
	 */
	public long getId() {
		return _id;
	}
	/**
	 * @param _id the _id to set
	 */
	public void setId(long id) {
		this._id = id;
	}
	/**
	 * @return the _projectSkill
	 */
	public ProjectSkill getProjectSkill() {
		return _projectSkill;
	}
	/**
	 * @param skill the _projectSkill to set
	 */
	public void setProjectSkill(ProjectSkill skill) {
		_projectSkill = skill;
	}
	/**
	 * @return the _start_date
	 */
	public Date getStart_date() {
		return _start_date;
	}
	/**
	 * @param _start_date the _start_date to set
	 */
	public void setStart_date(Date start_date) {
		this._start_date = start_date;
	}
	/**
	 * @return the _freelance
	 */
	public Freelance getFreelance() {
		return _freelance;
	}
	/**
	 * @param _freelance the _freelance to set
	 */
	public void setFreelance(Freelance freelance) {
		this._freelance = freelance;
	}
	/**
	 * 
	 * @return lcatet the webservice ProjectSkillAffectation representation
	 */
	public LightProjectSkillAffectation setLight() {
		LightProjectSkillAffectation lpsAff = new LightProjectSkillAffectation(this);
		return lpsAff;
	}
}
